package com.huihui.bean;

import org.litepal.crud.DataSupport;

import java.io.Serializable;
import java.util.List;

/**
 * 足迹具体数据实体类
 * Created by yinsxi on 2018/9/2.
 */

public class ZuJiInfo extends DataSupport implements Serializable{
    private ZuJi zuJi;

    public ZuJi getZuJi() {
        return zuJi;
    }

    public void setZuJi(ZuJi zuJi) {
        this.zuJi = zuJi;
    }
    private long video_id;

    public long getVideo_id() {
        return video_id;
    }

    public void setVideo_id(long video_id) {
        this.video_id = video_id;
    }

    private int class_id;
    private long zujiId;
    private String iconPath;
    private String name;
    private String content;
    private List<Photo> photoList;
    private int is_like;
    private String author_head_img;
    private String time;
    private int comment_num;
    public int getComment_num() {
        return comment_num;
    }

    public void setComment_num(int comment_num) {
        this.comment_num = comment_num;
    }
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getIs_like() {
        return is_like;
    }

    public void setIs_like(int is_like) {
        this.is_like = is_like;
    }
    public List<Photo> getPhotoList() {
        return photoList;
    }

    public void setPhotoList(List<Photo> photoList) {
        this.photoList = photoList;
    }

    public long getZujiId() {
        return zujiId;
    }

    public void setZujiId(long zujiId) {
        this.zujiId = zujiId;
    }

    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    private String cuttentTime;

    public String getCuttentTime() {
        return cuttentTime;
    }

    public void setCuttentTime(String cuttentTime) {
        this.cuttentTime = cuttentTime;
    }


    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAuthor_head_img() {
        return author_head_img;
    }

    public void setAuthor_head_img(String author_head_img) {
        this.author_head_img = author_head_img;
    }

    public List<Photo> getTempPhotoList(){
        return DataSupport.where("class_id = ? and photoId = ?",String.valueOf(class_id),String.valueOf(zujiId)).find(Photo.class);
    }
}
